home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7511 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  46 lines

  1. Newsgroups: comp.lang.c
  2. Path: usinternet.com!not-for-mail
  3. From: sjibben@usinternet.com (Scott Jibben)
  4. Subject: Re: Watcom C 10.5a in-line assembly???
  5. Message-ID: <21a7cc$163420.6a@usinternet.com>
  6. Date: Tue, 27 Feb 1996 04:52:32 GMT
  7. Organization: Jibben Software
  8. X-Newsreader: NeoLogic News for OS/2 [version: 4.2]
  9.  
  10. In message <4gsssp$7n4@unlisys.unlisys.net> - fabeu@berlin.snafu.de writes:
  11. >
  12. >Hi there!
  13. >
  14. >Is there any way of doing some in-line assembly in a more concient way than
  15. >this #pragma thing? I thought maybe like _asm { in Borland and M$-
  16. >Compilers? Watcom doesn't seem to know asm, _asm or __asm...
  17. >
  18. >Regards, FaBeu...
  19. >
  20. >please reply via E_mail to fabeu@berlin.snafu.de. THANKS!
  21. >
  22.  
  23. Hi,
  24. No, Watcom does not support the asm keyword.  You have to either write 'real' 
  25. asm code and use an assembler to generate obj's or use the #pragma aux 
  26. method.  At this point Watcom does not have other alternatives.  If you want 
  27. more information about inline assembly get the following text file listed 
  28. below:
  29.  
  30. ftp.watcom.on.ca/pub/bbs/comm_qa/asm.txt
  31.  
  32. Yeah, I beat my head against the wall a few times on this, too...
  33.  
  34. Scott Jibben 
  35. Jibben Software 
  36. Galactic Overlord & Mines of Gorr BBS Door Games 
  37. ----------------------------- 
  38. [EMAIL] sjibben@usinternet.com
  39. [WWW] http://www.usinternet.com/jsw
  40. [FTP] europa.com /outgoing/DOORS/jibben 
  41. [FTP] ftp.cts.com /pub/dferber/jibben 
  42. [FIDO] 1:282/115 
  43. [BBS] 612-379-8272 (10 USR 28.8 Couriers) 
  44.  
  45.  
  46.